README FOR REPLICATION FILES 
"Sliding into Safety Net Participation: A Unified Analysis Across Multiple Programs"
Derek Wu and Jonathan Zhang 

To create all tables/figures from the paper and intermediate datasets, run the following files in order:
- 0.Clean Raw SIPP data.do: this creates our analysis dataset "sipp_sample_analysis" by cleaning and consolidating raw SIPP files from 1996-2020 Panels. Raw datasets can be found at https://www.nber.org/research/data/survey-income-and-program-participation-sipp (for 1996-2008 Panels) and at https://www.census.gov/programs-surveys/sipp/data.html (for more recent panels).
- 1.Regressions.do: uses "sipp_sample_analysis" as input dataset and runs the main event study regressions. The outputted file is "reg_estimates". 
- 2.Main Figures and Tables.do: uses "reg_estimates" as input dataset and creates the main figures and tables. 
- 3.Appendix Figures and Tables.do: uses "reg_estimates" as input dataset and creates the appendix figures and tables.

Note that we have another file "4.VA Code.R" that creates the event studies in Appendix Figure B2. However, the underlying administrative data are confidential and cannot be disclosed.

 